PhpOffice\PhpSpreadsheet\Worksheet\Protection A

Total Complexity 68
Dependencies 1
Dependents 2
Total lines 511
Lines of code 196
Logical lines of code 78
Comment lines 143
Methods 48
Properties 20

Methods 48

Method Rating Maintainability Complexity Lines of code
isProtectionEnabled()
A
54 17 20
__clone()
S
64 3 10
setPassword()
S
65 2 9
verify()
S
67 2 7
getSort()
S
82 1 3
setSort()
S
77 1 4
getAutoFilter()
S
82 1 3
setAutoFilter()
S
77 1 4
getPivotTables()
S
82 1 3
setPivotTables()
S
77 1 4
getSelectUnlockedCells()
S
82 1 3
setSelectUnlockedCells()
S
77 1 4
getPassword()
S
82 1 3
setHashValue()
S
79 1 3
generateSalt()
S
80 1 3
getAlgorithm()
S
82 1 3
setAlgorithm()
S
80 1 3
setAlgorithmName()
S
77 1 4
getSalt()
S
82 1 3
setSalt()
S
80 1 3
setSaltValue()
S
77 1 4
getSpinCount()
S
82 1 3
setSpinCount()
S
77 1 4
setSelectLockedCells()
S
77 1 4
__construct()
S
91 1 2
setDeleteRows()
S
77 1 4
setFormatColumns()
S
77 1 4
getSheet()
S
82 1 3
setSheet()
S
77 1 4
getObjects()
S
82 1 3
setObjects()
S
77 1 4
getScenarios()
S
82 1 3
setScenarios()
S
77 1 4
getFormatCells()
S
82 1 3
setFormatCells()
S
77 1 4
getFormatColumns()
S
82 1 3
getFormatRows()
S
82 1 3
getDeleteRows()
S
82 1 3
setFormatRows()
S
77 1 4
getInsertColumns()
S
82 1 3
setInsertColumns()
S
77 1 4
getInsertRows()
S
82 1 3
setInsertRows()
S
77 1 4
getInsertHyperlinks()
S
82 1 3
setInsertHyperlinks()
S
77 1 4
getDeleteColumns()
S
82 1 3
setDeleteColumns()
S
77 1 4
getSelectLockedCells()
S
82 1 3